package cn.mxh.pethspt.entity;

public class Department {
    /*部门id*/
    private Integer Did;
    /*医院id*/
    private Integer hId;
    /*部门名称*/
    private String dName;

    public Department(){

    }

    public Department(Integer did, Integer hId, String dName) {
        Did = did;
        this.hId = hId;
        this.dName = dName;
    }

    public Integer getDid() {
        return Did;
    }

    public void setDid(Integer did) {
        Did = did;
    }

    public Integer gethId() {
        return hId;
    }

    public void sethId(Integer hId) {
        this.hId = hId;
    }

    public String getdName() {
        return dName;
    }

    public void setdName(String dName) {
        this.dName = dName;
    }

    @Override
    public String toString() {
        return "Department{" +
                "Did=" + Did +
                ", hId=" + hId +
                ", dName='" + dName + '\'' +
                '}';
    }
}
